import App from './App'
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
// main.js
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import config from '@/common/config';
Vue.prototype.$config = config;
import constant from '@/common/constant';
Vue.prototype.$constant= constant;
import store from '@/store/index';
Vue.prototype.$store = store;
import util from '@/utils/util';
Vue.prototype.$util= util;
//将默认单位改为rpx
//uni.$u.config.unit = 'rpx'
const app = new Vue({
	store,
	...App
})
app.$mount()
